import xadmin
# CollegeModel, ProfessionalModel, GradeModel, ClassModel, CourseModel, ChapterModel
from .models import ExamTaoModel, ChooseModel, MoreChooseModel, JudgeModel, ReadingModel, StudentResultsModel


class ExamTaoModelAdmin():
    list_display = ["tao_name", "course"]


xadmin.site.register(ExamTaoModel, ExamTaoModelAdmin)


class ChooseModelAdmin():
    list_display = ["title", "options_A", "options_B", "options_C", "options_D", "answer", "exam", "course"]


xadmin.site.register(ChooseModel, ChooseModelAdmin)


class MoreChooseModelAdmin():
    list_display = ["title", "options_A", "options_B", "options_C", "options_D", "answer", "exam", "course"]


xadmin.site.register(MoreChooseModel, MoreChooseModelAdmin)


class JudgeModelAdmin():
    list_display = ["judge_title", "judge_options_Y", "judge_options_N", "judge_answer", "exam", "course"]


xadmin.site.register(JudgeModel, JudgeModelAdmin)


class ReadingModelAdmin():
    list_display = ["reading_title", "reading_answer", "exam", "course"]


xadmin.site.register(ReadingModel, ReadingModelAdmin)


class StudentResultsModelAdmin():
    list_display = ["student", "exam", "course", "choose", "more_choose", "judge", "read", "exam", "course"]


xadmin.site.register(StudentResultsModel, StudentResultsModelAdmin)
